--------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Volumes/rdss_meghrogers/Current Research/Markets-Pridemore/Work/MA
> R08-CondtionModel-UNODC.log
  log type:  text
 opened on:   5 May 2025, 15:03:44

. 
. //  program:    Stata 
. //  task:       Cross-Sectional Models 
. //  project:    Markets  
. 
. version
version 18.5

. clear all

. macro drop _all

. set linesize 80

. set more off

. local tag " 06-29-24| Cleaned 06-29-24"

. local file "MAR08-CondtionModel-UNODC"

. local note "|`tag' | `file'"

. local opt "noparen sideway excel noaster  bdec(2)  sdec(2)  pdec(3)   adec(2) 
> e(r2) stats(coef se pval)"

. local dv "lrhom_un"

. local iv "fraser"

. local iv2 "infantmort" 

. local cont "edu unemp  popdense perurban  sexratio"

. local icid " i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i1
> 9 i20 i21 i22 i23 i24 i25 i26 i27 i28 i29 i30 i31 i32 i33 i34 i35 i36 i37 i38 
> i39 i40 i41 i42 i43 i44 i45 i46 i47 i48 i49 i50 i51 i52 i53 i54 i55 i56 i57 i5
> 8 i59 i60 i61 i62 i63 i64 i65 i66 i67 i68 i69 i70 i71 i72 i73 i74 i75 i76 i77 
> i78 i79 i80 i81 i82 i83 i84 i85  i87 i88"

. local iyear " x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x
> 19 "

. 
. //      #0
. //      loading panel data 
. use MAR06-PanelModels-UNODC.dta, clear 

. 
. //      #1
. //      LAC nations
. gen LAC=. 
(1,949 missing values generated)

. replace LAC=1 if subregion=="Latin America and the Caribbean"
(458 real changes made)

. replace LAC=1 if region_un_sub==102
(0 real changes made)

. replace LAC=1 if region_un_sub==103
(0 real changes made)

. replace LAC=1 if region_un_sub==104
(0 real changes made)

. 
. tab nation LAC, m 

                      |          LAC
         Country Name |         1          . |     Total
----------------------+----------------------+----------
              Albania |         0         20 |        20 
              Algeria |         0         14 |        14 
            Argentina |        19          0 |        19 
              Armenia |         0         16 |        16 
            Australia |         0         20 |        20 
              Austria |         0         20 |        20 
           Azerbaijan |         0         12 |        12 
              Bahamas |        20          0 |        20 
              Bahrain |         0         15 |        15 
           Bangladesh |         0         19 |        19 
             Barbados |        20          0 |        20 
               Belize |        20          0 |        20 
               Bhutan |         0          6 |         6 
Bolivia (Plurinatio.. |         5          0 |         5 
Bosnia and Herzegov.. |         0         13 |        13 
             Botswana |         0         10 |        10 
               Brazil |        20          0 |        20 
             Bulgaria |         0         20 |        20 
              Burundi |         0          5 |         5 
           Cabo Verde |         0          7 |         7 
             Cameroon |         0         12 |        12 
               Canada |         0         20 |        20 
                Chile |        16          0 |        16 
                China |         0         18 |        18 
             Colombia |        20          0 |        20 
           Costa Rica |        20          0 |        20 
              Croatia |         0         20 |        20 
               Cyprus |         0         19 |        19 
              Czechia |         0         19 |        19 
              Denmark |         0         13 |        13 
   Dominican Republic |        19          0 |        19 
              Ecuador |        16          0 |        16 
                Egypt |         0         14 |        14 
          El Salvador |        20          0 |        20 
              Estonia |         0         16 |        16 
             Eswatini |         0          8 |         8 
                 Fiji |         0         12 |        12 
              Finland |         0         20 |        20 
               France |         0         20 |        20 
              Georgia |         0         12 |        12 
              Germany |         0         20 |        20 
                Ghana |         0         19 |        19 
               Greece |         0         18 |        18 
            Guatemala |        18          0 |        18 
               Guyana |        20          0 |        20 
                Haiti |        11          0 |        11 
             Honduras |        20          0 |        20 
              Hungary |         0         20 |        20 
              Iceland |         0         16 |        16 
                India |         0         20 |        20 
              Ireland |         0         20 |        20 
               Israel |         0         20 |        20 
                Italy |         0         18 |        18 
              Jamaica |        20          0 |        20 
                Japan |         0         20 |        20 
               Jordan |         0         13 |        13 
           Kazakhstan |         0          9 |         9 
                Kenya |         0         15 |        15 
               Kuwait |         0         15 |        15 
               Latvia |         0         11 |        11 
              Lebanon |         0         10 |        10 
            Lithuania |         0         19 |        19 
           Luxembourg |         0         19 |        19 
               Malawi |         0         13 |        13 
             Malaysia |         0         20 |        20 
                Malta |         0         18 |        18 
            Mauritius |         0         12 |        12 
               Mexico |        20          0 |        20 
             Mongolia |         0         16 |        16 
           Montenegro |         0         13 |        13 
              Morocco |         0         20 |        20 
           Mozambique |         0          9 |         9 
              Myanmar |         0         20 |        20 
              Namibia |         0         11 |        11 
                Nepal |         0         20 |        20 
          Netherlands |         0         20 |        20 
          New Zealand |         0         20 |        20 
            Nicaragua |        20          0 |        20 
      North Macedonia |         0         16 |        16 
               Norway |         0         19 |        19 
                 Oman |         0         18 |        18 
             Pakistan |         0         20 |        20 
               Panama |        20          0 |        20 
     Papua New Guinea |         0         10 |        10 
             Paraguay |        20          0 |        20 
                 Peru |         9          0 |         9 
          Philippines |         0         13 |        13 
               Poland |         0         15 |        15 
             Portugal |         0         14 |        14 
                Qatar |         0         10 |        10 
    Republic of Korea |         0         20 |        20 
  Republic of Moldova |         0         15 |        15 
              Romania |         0         20 |        20 
   Russian Federation |         0         20 |        20 
               Rwanda |         0         12 |        12 
               Serbia |         0         15 |        15 
           Seychelles |         0          6 |         6 
         Sierra Leone |         0         10 |        10 
            Singapore |         0         19 |        19 
             Slovakia |         0         20 |        20 
             Slovenia |         0         20 |        20 
         South Africa |         0         20 |        20 
                Spain |         0         20 |        20 
            Sri Lanka |         0         14 |        14 
             Suriname |         7          0 |         7 
               Sweden |         0         20 |        20 
          Switzerland |         0         14 |        14 
 Syrian Arab Republic |         0         11 |        11 
             Thailand |         0         12 |        12 
  Trinidad and Tobago |        20          0 |        20 
              Tunisia |         0          9 |         9 
               Turkey |         0          8 |         8 
             TÃ¼rkiye |         0          6 |         6 
               Uganda |         0         12 |        12 
              Ukraine |         0         16 |        16 
 United Arab Emirates |         0          7 |         7 
United Kingdom of G.. |         0         20 |        20 
United Republic of .. |         0         11 |        11 
United States of Am.. |         0         17 |        17 
              Uruguay |        20          0 |        20 
Venezuela (Bolivari.. |        18          0 |        18 
             Viet Nam |         0          9 |         9 
               Zambia |         0          9 |         9 
             Zimbabwe |         0         10 |        10 
----------------------+----------------------+----------
                Total |       458      1,491 |     1,949 

. replace LAC=0 if LAC==. 
(1,491 real changes made)

. 
. //      #2
. //      Conditioned sample w/ only and w/o LAC Fraser 
. xtreg `dv' `iv' `iv2' `cont' if LAC==1, fe cluster(CID)

Fixed-effects (within) regression               Number of obs     =        458
Group variable: CID                             Number of groups  =         26

R-squared:                                      Obs per group:
     Within  = 0.0610                                         min =          5
     Between = 0.0294                                         avg =       17.6
     Overall = 0.0172                                         max =         20

                                                F(7, 25)          =       2.35
corr(u_i, Xb) = -0.9062                         Prob > F          =     0.0542

                                   (Std. err. adjusted for 26 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.1007079   .0711299    -1.42   0.169    -.2472027    .0457869
  infantmort |   .0006549   .0067042     0.10   0.923    -.0131526    .0144623
         edu |   .1233446    1.34709     0.09   0.928     -2.65104    2.897729
       unemp |   .0120986   .0145761     0.83   0.414    -.0179215    .0421187
    popdense |   .0095302   .0068191     1.40   0.175     -.004514    .0235743
    perurban |  -.0205498   .0218501    -0.94   0.356     -.065551    .0244513
    sexratio |  -.0778641   .0562476    -1.38   0.178    -.1937082    .0379801
       _cons |   11.23512   5.949236     1.89   0.071    -1.017558     23.4878
-------------+----------------------------------------------------------------
     sigma_u |  1.7894813
     sigma_e |  .26737608
         rho |  .97816256   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' replace addnote(LAC_conditioned) 
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (26)  =         743.82
Prob > chi2 =          0.0000


. qui reg `dv' `iv' `iv2' `cont' if LAC==1 

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      2.54    0.393072
  infantmort |      2.54    0.393488
    popdense |      2.13    0.470470
    perurban |      2.09    0.478229
    sexratio |      1.68    0.595048
       unemp |      1.15    0.869391
      fraser |      1.10    0.906634
-------------+----------------------
    Mean VIF |      1.89

. xtserial `dv' `iv' `iv2' `cont' if LAC==1

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      25) =     42.459
           Prob > F =      0.0000

. 
. xtreg `dv' `iv' `iv2' `cont' if LAC==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =      1,491
Group variable: CID                             Number of groups  =         97

R-squared:                                      Obs per group:
     Within  = 0.2760                                         min =          5
     Between = 0.3396                                         avg =       15.4
     Overall = 0.3013                                         max =         20

                                                F(7, 96)          =      36.18
corr(u_i, Xb) = -0.5063                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 97 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.1071422    .087555    -1.22   0.224    -.2809375    .0666532
  infantmort |   -.007288   .0048494    -1.50   0.136     -.016914     .002338
         edu |  -2.723905   .5819592    -4.68   0.000    -3.879085   -1.568725
       unemp |   .0099688   .0049247     2.02   0.046     .0001933    .0197443
    popdense |  -.0002657   .0000673    -3.95   0.000    -.0003993   -.0001321
    perurban |  -.0234888   .0087467    -2.69   0.009    -.0408508   -.0061267
    sexratio |  -.0117364    .003291    -3.57   0.001    -.0182691   -.0052038
       _cons |   6.154736   .7786033     7.90   0.000      4.60922    7.700251
-------------+----------------------------------------------------------------
     sigma_u |  .89787726
     sigma_e |  .28162951
         rho |  .91042881   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(NO_LAC_conditioned) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (97)  =       17793.60
Prob > chi2 =          0.0000


. qui reg `dv' `iv' `iv2' `cont' if LAC==0

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      5.78    0.172916
  infantmort |      3.62    0.276181
    perurban |      2.78    0.359525
      fraser |      2.35    0.424794
    sexratio |      1.31    0.764586
    popdense |      1.19    0.843011
       unemp |      1.08    0.924162
-------------+----------------------
    Mean VIF |      2.59

. xtserial `dv' `iv' `iv2' `cont' if LAC==0

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      96) =      7.116
           Prob > F =      0.0090

. 
. //      #3
. //      Conditioned sample w/ only and w/o LAC Heritage 
. xtreg `dv' heritage `iv2' `cont' if LAC==1, fe cluster(CID)

Fixed-effects (within) regression               Number of obs     =        458
Group variable: CID                             Number of groups  =         26

R-squared:                                      Obs per group:
     Within  = 0.0596                                         min =          5
     Between = 0.0289                                         avg =       17.6
     Overall = 0.0183                                         max =         20

                                                F(7, 25)          =       0.89
corr(u_i, Xb) = -0.8606                         Prob > F          =     0.5286

                                   (Std. err. adjusted for 26 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
    heritage |  -.0094981   .0082185    -1.16   0.259    -.0264244    .0074283
  infantmort |    .001527   .0067487     0.23   0.823    -.0123722    .0154262
         edu |   .0931459   1.343953     0.07   0.945    -2.674777    2.861069
       unemp |   .0115565   .0153101     0.75   0.457    -.0199752    .0430882
    popdense |   .0075725   .0068263     1.11   0.278    -.0064866    .0216316
    perurban |  -.0182782   .0216892    -0.84   0.407    -.0629478    .0263915
    sexratio |  -.0615527   .0569502    -1.08   0.290    -.1788438    .0557384
       _cons |    9.61323   5.848745     1.64   0.113    -2.432485    21.65895
-------------+----------------------------------------------------------------
     sigma_u |  1.4924812
     sigma_e |  .26758176
         rho |  .96885738   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(LAC_conditioned) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (26)  =         440.68
Prob > chi2 =          0.0000


. qui reg `dv' heritage `iv2' `cont' if LAC==1 

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
  infantmort |      2.76    0.361772
         edu |      2.52    0.396640
    popdense |      2.18    0.459381
    perurban |      2.08    0.479962
    sexratio |      1.72    0.582963
    heritage |      1.32    0.756871
       unemp |      1.16    0.862647
-------------+----------------------
    Mean VIF |      1.96

. xtserial `dv' heritage `iv2' `cont' if LAC==1

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      25) =     43.260
           Prob > F =      0.0000

. 
. xtreg `dv' heritage `iv2' `cont' if LAC==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =      1,420
Group variable: CID                             Number of groups  =         94

R-squared:                                      Obs per group:
     Within  = 0.2838                                         min =          2
     Between = 0.3495                                         avg =       15.1
     Overall = 0.3156                                         max =         20

                                                F(7, 93)          =      34.23
corr(u_i, Xb) = -0.4732                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 94 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
    heritage |  -.0089995   .0047369    -1.90   0.061     -.018406    .0004071
  infantmort |   -.003286   .0046904    -0.70   0.485    -.0126002    .0060281
         edu |  -2.795018   .5897751    -4.74   0.000    -3.966194   -1.623841
       unemp |   .0102249   .0049747     2.06   0.043     .0003461    .0201037
    popdense |  -.0002621   .0000698    -3.76   0.000    -.0004006   -.0001235
    perurban |  -.0193733    .009003    -2.15   0.034    -.0372515    -.001495
    sexratio |  -.0120599   .0030317    -3.98   0.000    -.0180803   -.0060394
       _cons |    5.74937   .5854827     9.82   0.000     4.586717    6.912022
-------------+----------------------------------------------------------------
     sigma_u |  .87690122
     sigma_e |  .28302482
         rho |  .90565665   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(NO_LAC_conditioned) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (94)  =        8996.61
Prob > chi2 =          0.0000


. qui reg `dv' heritage `iv2' `cont' if LAC==0

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      5.67    0.176231
  infantmort |      3.54    0.282837
    perurban |      2.71    0.369607
    heritage |      2.36    0.423678
    sexratio |      1.35    0.741716
    popdense |      1.24    0.807902
       unemp |      1.11    0.897908
-------------+----------------------
    Mean VIF |      2.57

. xtserial `dv' heritage `iv2' `cont' if LAC==0

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      91) =      6.359
           Prob > F =      0.0134

. 
. //      #4
. //      Conditioned sample w/ only and w/o LAC ROL 
. xtreg `dv' rol `iv2' `cont' if LAC==1, fe cluster(CID)

Fixed-effects (within) regression               Number of obs     =        417
Group variable: CID                             Number of groups  =         26

R-squared:                                      Obs per group:
     Within  = 0.1864                                         min =          5
     Between = 0.0147                                         avg =       16.0
     Overall = 0.0387                                         max =         18

                                                F(7, 25)          =       3.53
corr(u_i, Xb) = -0.5583                         Prob > F          =     0.0089

                                   (Std. err. adjusted for 26 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
         rol |  -.5836712   .1267821    -4.60   0.000    -.8447839   -.3225585
  infantmort |   -.004707   .0063537    -0.74   0.466    -.0177926    .0083786
         edu |  -.8495695    1.19963    -0.71   0.485    -3.320253    1.621114
       unemp |   .0017562   .0113172     0.16   0.878    -.0215521    .0250645
    popdense |  -.0022088   .0080351    -0.27   0.786    -.0187574    .0143399
    perurban |   .0087728   .0207022     0.42   0.675    -.0338642    .0514098
    sexratio |   .0181373   .0492347     0.37   0.716    -.0832635    .1195381
       _cons |   1.174446   5.276833     0.22   0.826    -9.693396    12.04229
-------------+----------------------------------------------------------------
     sigma_u |  .98730933
     sigma_e |  .23431761
         rho |  .94667809   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(LAC_conditioned) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (26)  =         420.62
Prob > chi2 =          0.0000


. qui reg `dv' rol `iv2' `cont' if LAC==1 

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
  infantmort |      2.77    0.360769
         edu |      2.64    0.378880
    popdense |      2.22    0.450468
    perurban |      2.12    0.470684
         rol |      1.86    0.536705
    sexratio |      1.74    0.575442
       unemp |      1.32    0.757506
-------------+----------------------
    Mean VIF |      2.10

. xtserial `dv' rol `iv2' `cont' if LAC==1

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      25) =     20.642
           Prob > F =      0.0001

. 
. xtreg `dv' rol `iv2' `cont' if LAC==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =      1,372
Group variable: CID                             Number of groups  =         97

R-squared:                                      Obs per group:
     Within  = 0.2578                                         min =          5
     Between = 0.3571                                         avg =       14.1
     Overall = 0.3134                                         max =         18

                                                F(7, 96)          =      52.30
corr(u_i, Xb) = -0.6683                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 97 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
         rol |  -.3123701   .1403182    -2.23   0.028    -.5908996   -.0338406
  infantmort |  -.0114416   .0046862    -2.44   0.016    -.0207436   -.0021395
         edu |  -2.934516   .5923311    -4.95   0.000    -4.110284   -1.758748
       unemp |   .0075211   .0041721     1.80   0.075    -.0007605    .0158026
    popdense |  -.0001778   .0000653    -2.72   0.008    -.0003074   -.0000481
    perurban |  -.0301607    .010109    -2.98   0.004     -.050227   -.0100944
    sexratio |  -.0102648   .0025933    -3.96   0.000    -.0154123   -.0051172
       _cons |   5.987936   .5158254    11.61   0.000     4.964031    7.011841
-------------+----------------------------------------------------------------
     sigma_u |  1.0237434
     sigma_e |  .27566668
         rho |  .93239392   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(NO_LAC_conditioned) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (97)  =       33654.75
Prob > chi2 =          0.0000


. qui reg `dv' rol `iv2' `cont' if LAC==0

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      5.86    0.170702
  infantmort |      3.65    0.273875
    perurban |      2.90    0.344398
         rol |      2.73    0.365766
    sexratio |      1.33    0.750692
       unemp |      1.14    0.878078
    popdense |      1.12    0.892506
-------------+----------------------
    Mean VIF |      2.68

. xtserial `dv' rol `iv2' `cont' if LAC==0

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      96) =      7.864
           Prob > F =      0.0061

. 
. //      #5
. //      Fraser set up 
. gen Lfraser=. 
(1,949 missing values generated)

. sum fraser, de

                           Fraser
-------------------------------------------------------------
      Percentiles      Smallest
 1%         3.78           2.72
 5%         5.55           2.75
10%         5.93           2.82       Obs               1,949
25%         6.56           2.87       Sum of wgt.       1,949

50%          7.2                      Mean           7.064572
                        Largest       Std. dev.       .898133
75%         7.71           8.82
90%         8.03           8.82       Variance       .8066428
95%         8.22           8.85       Skewness      -1.101665
99%         8.66           8.85       Kurtosis       5.356595

. replace Lfraser=1 if fraser<=r(p50)
(978 real changes made)

. replace Lfraser=0 if fraser>r(p50)
(971 real changes made)

. 
. 
. /*//    #6
> //      Conditioned INteractions 
> xtreg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==1 & LAC==1, fe cluster(CID) 
> outreg2 using `file', `opt' append addnote(HFraser_Inter) 
> 
> xtreg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==0 & LAC==1, fe cluster(CID)
> outreg2 using `file', `opt' append addnote(HFraser_Inter) 
> 
> 
> xtreg `dv' c.`iv'##c.lgdp `iv2' `cont' if Lfraser==1 & LAC==1, fe cluster(CID)
>  
> outreg2 using `file', `opt' append addnote(HFraser_Inter) 
> 
> xtreg `dv' c.`iv'##c.lgdp `iv2' `cont' if Lfraser==0 & LAC==1, fe cluster(CID)
> outreg2 using `file', `opt' append addnote(HFraser_Inter) 
> */
. 
. //      #7
. //      Fraser High
. xtreg `dv' `iv' `iv2' `cont' if Lfraser==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        971
Group variable: CID                             Number of groups  =         79

R-squared:                                      Obs per group:
     Within  = 0.2165                                         min =          1
     Between = 0.3974                                         avg =       12.3
     Overall = 0.4105                                         max =         20

                                                F(7, 78)          =      30.13
corr(u_i, Xb) = 0.1954                          Prob > F          =     0.0000

                                   (Std. err. adjusted for 79 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |   -.310779   .1289482    -2.41   0.018    -.5674952   -.0540629
  infantmort |  -.0045206   .0140363    -0.32   0.748    -.0324648    .0234236
         edu |  -2.821338   .6236713    -4.52   0.000    -4.062972   -1.579704
       unemp |  -.0044147    .007099    -0.62   0.536    -.0185476    .0097182
    popdense |  -.0002748    .000073    -3.76   0.000    -.0004202   -.0001295
    perurban |  -.0139263   .0194243    -0.72   0.476    -.0525972    .0247446
    sexratio |  -.0061106   .0044453    -1.37   0.173    -.0149605    .0027393
       _cons |   7.204001   2.078883     3.47   0.001     3.065263    11.34274
-------------+----------------------------------------------------------------
     sigma_u |  .98470122
     sigma_e |  .27117538
         rho |  .92950726   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(HFraser) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (79)  =       40061.43
Prob > chi2 =          0.0000


. qui reg `dv' `iv' `iv2' `cont' if Lfraser==0

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      3.40    0.294432
  infantmort |      2.98    0.335618
      fraser |      1.92    0.521748
    perurban |      1.86    0.538212
    popdense |      1.41    0.711691
    sexratio |      1.15    0.870563
       unemp |      1.14    0.876288
-------------+----------------------
    Mean VIF |      1.98

. xtserial `dv' `iv' `iv2' `cont' if Lfraser==0

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      69) =      4.381
           Prob > F =      0.0400

. 
. 
. //      #8
. //      Fraser Low 
. xtreg `dv' `iv' `iv2' `cont' if Lfraser==1, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        978
Group variable: CID                             Number of groups  =         93

R-squared:                                      Obs per group:
     Within  = 0.1900                                         min =          1
     Between = 0.1407                                         avg =       10.5
     Overall = 0.0676                                         max =         20

                                                F(7, 92)          =      13.33
corr(u_i, Xb) = -0.3940                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 93 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.1372076    .083926    -1.63   0.105     -.303892    .0294767
  infantmort |  -.0009078   .0046445    -0.20   0.845    -.0101321    .0083165
         edu |  -.5606866   .9230914    -0.61   0.545    -2.394026    1.272653
       unemp |   .0158598   .0078909     2.01   0.047     .0001877    .0315319
    popdense |  -.0003528   .0002872    -1.23   0.222    -.0009231    .0002175
    perurban |  -.0186969   .0157808    -1.18   0.239     -.050039    .0126452
    sexratio |  -.0198365   .0038112    -5.20   0.000    -.0274059    -.012267
       _cons |   5.774253   .9307314     6.20   0.000      3.92574    7.622766
-------------+----------------------------------------------------------------
     sigma_u |  1.1610669
     sigma_e |  .27917809
         rho |  .94534398   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(HFraser) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (93)  =       29288.84
Prob > chi2 =          0.0000


. qui reg `dv' `iv' `iv2' `cont' if Lfraser==1

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
         edu |      3.36    0.297781
  infantmort |      3.12    0.320800
    perurban |      1.82    0.549964
    sexratio |      1.28    0.778451
       unemp |      1.20    0.835023
      fraser |      1.17    0.851744
    popdense |      1.10    0.912914
-------------+----------------------
    Mean VIF |      1.86

. xtserial `dv' `iv' `iv2' `cont' if Lfraser==1

Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
    F(  1,      82) =      8.567
           Prob > F =      0.0044

. 
. //      #9
. //      Mod models with fraser  high`
. xtreg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        971
Group variable: CID                             Number of groups  =         79

R-squared:                                      Obs per group:
     Within  = 0.2269                                         min =          1
     Between = 0.4065                                         avg =       12.3
     Overall = 0.4201                                         max =         20

                                                F(8, 78)          =      29.84
corr(u_i, Xb) = 0.1865                          Prob > F          =     0.0000

                                   (Std. err. adjusted for 79 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.5715552   .2119064    -2.70   0.009    -.9934284    -.149682
  infantmort |  -.2457034   .1299098    -1.89   0.062     -.504334    .0129272
             |
    c.fraser#|
c.infantmort |   .0326159     .01827     1.79   0.078    -.0037569    .0689887
             |
         edu |  -2.701999   .6301134    -4.29   0.000    -3.956459    -1.44754
       unemp |  -.0063075   .0071054    -0.89   0.377    -.0204534    .0078383
    popdense |  -.0002663   .0000706    -3.77   0.000    -.0004069   -.0001257
    perurban |  -.0134956   .0194482    -0.69   0.490    -.0522141    .0252228
    sexratio |   -.006296   .0047631    -1.32   0.190    -.0157785    .0031866
       _cons |   9.076688   2.298731     3.95   0.000     4.500267    13.65311
-------------+----------------------------------------------------------------
     sigma_u |  .97848732
     sigma_e |  .26953351
         rho |  .92947353   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(LFraser_Inter) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (79)  =        4223.86
Prob > chi2 =          0.0000


. qui reg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==0

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
      fraser |      4.34    0.230200
  infantmort |   1566.70    0.000638
    c.fraser#|
c.infantmort |   1545.64    0.000647
         edu |      3.63    0.275109
       unemp |      1.16    0.861350
    popdense |      1.60    0.625530
    perurban |      1.86    0.538191
    sexratio |      1.15    0.870231
-------------+----------------------
    Mean VIF |    390.76

. 
. //      #10
. //      Mod models with fraser low 
. xtreg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==1, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        978
Group variable: CID                             Number of groups  =         93

R-squared:                                      Obs per group:
     Within  = 0.2173                                         min =          1
     Between = 0.1725                                         avg =       10.5
     Overall = 0.1106                                         max =         20

                                                F(8, 92)          =      14.05
corr(u_i, Xb) = -0.3106                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 93 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.3183788   .0856601    -3.72   0.000    -.4885072   -.1482505
  infantmort |  -.0329329   .0151462    -2.17   0.032    -.0630145   -.0028512
             |
    c.fraser#|
c.infantmort |   .0058429   .0023915     2.44   0.016     .0010932    .0105926
             |
         edu |  -.5791627   .9171284    -0.63   0.529    -2.400659    1.242333
       unemp |   .0142617   .0076282     1.87   0.065    -.0008884    .0294119
    popdense |  -.0002473   .0002516    -0.98   0.328     -.000747    .0002523
    perurban |  -.0102904   .0164648    -0.62   0.534    -.0429909    .0224101
    sexratio |  -.0216669   .0035645    -6.08   0.000    -.0287463   -.0145874
       _cons |   6.562982   .9824914     6.68   0.000      4.61167    8.514295
-------------+----------------------------------------------------------------
     sigma_u |  1.1161085
     sigma_e |  .27458764
         rho |  .94292743   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(HFraser_Inter) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (93)  =       32628.15
Prob > chi2 =          0.0000


. qui reg `dv' c.`iv'##c.`iv2' `cont' if Lfraser==1

. vif

    Variable |       VIF       1/VIF  
-------------+----------------------
      fraser |      3.50    0.285601
  infantmort |     75.01    0.013332
    c.fraser#|
c.infantmort |     69.41    0.014408
         edu |      3.40    0.294208
       unemp |      1.21    0.825762
    popdense |      1.10    0.912339
    perurban |      1.82    0.549849
    sexratio |      1.30    0.767747
-------------+----------------------
    Mean VIF |     19.59

. 
. //      #11
. //      GDP low and low 
. xtreg `dv' c.`iv'##c.lgdp `iv2' `cont' if Lfraser==0, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        971
Group variable: CID                             Number of groups  =         79

R-squared:                                      Obs per group:
     Within  = 0.2307                                         min =          1
     Between = 0.4048                                         avg =       12.3
     Overall = 0.4454                                         max =         20

                                                F(9, 78)          =      34.55
corr(u_i, Xb) = -0.0496                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 79 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -.7841354    .932436    -0.84   0.403    -2.640473    1.072202
        lgdp |  -.9359958   .7889256    -1.19   0.239    -2.506626    .6346344
             |
    c.fraser#|
      c.lgdp |   .0568759   .0957348     0.59   0.554    -.1337175    .2474694
             |
  infantmort |  -.0161267   .0131323    -1.23   0.223    -.0422712    .0100178
         edu |  -2.090139   .6928047    -3.02   0.003    -3.469408   -.7108713
       unemp |  -.0108338   .0073462    -1.47   0.144    -.0254591    .0037914
    popdense |  -.0002545   .0000764    -3.33   0.001    -.0004066   -.0001024
    perurban |  -.0128669   .0203411    -0.63   0.529     -.053363    .0276293
    sexratio |  -.0066787   .0048766    -1.37   0.175    -.0163874    .0030299
       _cons |    15.2393   7.702316     1.98   0.051     -.094831    30.57343
-------------+----------------------------------------------------------------
     sigma_u |  .98794977
     sigma_e |  .26901981
         rho |   .9309705   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(LFraser_Inter_GDP) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (79)  =       17918.33
Prob > chi2 =          0.0000


. //       high 
. xtreg `dv' c.`iv'##c.lgdp `iv2' `cont' if Lfraser==1, fe cluster(CID) 

Fixed-effects (within) regression               Number of obs     =        960
Group variable: CID                             Number of groups  =         92

R-squared:                                      Obs per group:
     Within  = 0.2373                                         min =          1
     Between = 0.1604                                         avg =       10.4
     Overall = 0.0855                                         max =         20

                                                F(9, 91)          =      11.55
corr(u_i, Xb) = -0.5767                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 92 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |   1.097761     .49784     2.21   0.030      .108863    2.086659
        lgdp |   .4058304   .3922762     1.03   0.304     -.373378    1.185039
             |
    c.fraser#|
      c.lgdp |  -.1473807   .0594905    -2.48   0.015    -.2655512   -.0292101
             |
  infantmort |   .0005737   .0058895     0.10   0.923    -.0111251    .0122725
         edu |   -.064237   1.200967    -0.05   0.957    -2.449811    2.321337
       unemp |   .0099826   .0076451     1.31   0.195    -.0052035    .0251686
    popdense |   -.000224   .0002872    -0.78   0.437    -.0007943    .0003464
    perurban |  -.0011004    .014427    -0.08   0.939    -.0297577     .027557
    sexratio |  -.0260547   .0044912    -5.80   0.000    -.0349758   -.0171336
       _cons |   1.709621   3.283634     0.52   0.604    -4.812914    8.232156
-------------+----------------------------------------------------------------
     sigma_u |  1.3096482
     sigma_e |  .27291447
         rho |  .95838188   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(HFraser_Inter_GDP) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xttest3

Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model

H0: sigma(i)^2 = sigma^2 for all i

chi2 (92)  =       15857.40
Prob > chi2 =          0.0000


. 
. 
. //      #12
. //      all 
. xtreg `dv' c.`iv'##c.lgdp c.`iv'##c.`iv2' `cont' if Lfraser==0, fe cluster(CID
> ) 
note: fraser omitted because of collinearity.

Fixed-effects (within) regression               Number of obs     =        971
Group variable: CID                             Number of groups  =         79

R-squared:                                      Obs per group:
     Within  = 0.2470                                         min =          1
     Between = 0.3973                                         avg =       12.3
     Overall = 0.4322                                         max =         20

                                                F(10, 78)         =      41.84
corr(u_i, Xb) = 0.0066                          Prob > F          =     0.0000

                                   (Std. err. adjusted for 79 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |  -3.694485   1.598221    -2.31   0.023    -6.876298    -.512672
        lgdp |  -2.716155   1.133928    -2.40   0.019    -4.973634   -.4586773
             |
    c.fraser#|
      c.lgdp |   .3102405   .1477031     2.10   0.039     .0161862    .6042948
             |
      fraser |          0  (omitted)
  infantmort |  -.4321356   .1904105    -2.27   0.026    -.8112138   -.0530574
             |
    c.fraser#|
c.infantmort |   .0561927   .0264533     2.12   0.037     .0035283    .1088571
             |
         edu |  -1.988481   .7026161    -2.83   0.006    -3.387282   -.5896798
       unemp |  -.0098596   .0075897    -1.30   0.198    -.0249695    .0052504
    popdense |  -.0003545   .0000825    -4.30   0.000    -.0005188   -.0001902
    perurban |  -.0123098   .0200617    -0.61   0.541    -.0522497      .02763
    sexratio |  -.0056288   .0044761    -1.26   0.212    -.0145402    .0032825
       _cons |   35.65935   11.76041     3.03   0.003     12.24618    59.07252
-------------+----------------------------------------------------------------
     sigma_u |  .97992108
     sigma_e |  .26630633
         rho |  .93122429   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(IN_LFraser_Inter_GDP) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. xtreg `dv' c.`iv'##c.lgdp c.`iv'##c.`iv2' `cont' if Lfraser==1, fe cluster(CID
> ) 
note: fraser omitted because of collinearity.

Fixed-effects (within) regression               Number of obs     =        960
Group variable: CID                             Number of groups  =         92

R-squared:                                      Obs per group:
     Within  = 0.2374                                         min =          1
     Between = 0.1611                                         avg =       10.4
     Overall = 0.0867                                         max =         20

                                                F(10, 91)         =      10.53
corr(u_i, Xb) = -0.5692                         Prob > F          =     0.0000

                                   (Std. err. adjusted for 92 clusters in CID)
------------------------------------------------------------------------------
             |               Robust
    lrhom_un | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
      fraser |    .949756   .7738686     1.23   0.223    -.5874388    2.486951
        lgdp |   .3233346   .5040999     0.64   0.523    -.6779978    1.324667
             |
    c.fraser#|
      c.lgdp |  -.1323743   .0849947    -1.56   0.123    -.3012057    .0364571
             |
      fraser |          0  (omitted)
  infantmort |  -.0044526   .0224339    -0.20   0.843    -.0490147    .0401095
             |
    c.fraser#|
c.infantmort |   .0008444   .0033773     0.25   0.803    -.0058643    .0075531
             |
         edu |  -.0605574   1.199088    -0.05   0.960    -2.442398    2.321283
       unemp |   .0100066   .0076273     1.31   0.193    -.0051442    .0251573
    popdense |  -.0002207   .0002802    -0.79   0.433    -.0007774    .0003359
    perurban |   -.000961   .0143907    -0.07   0.947    -.0295463    .0276243
    sexratio |  -.0260185   .0044948    -5.79   0.000    -.0349469   -.0170902
       _cons |   2.520481   4.657955     0.54   0.590    -6.731974    11.77294
-------------+----------------------------------------------------------------
     sigma_u |  1.3000453
     sigma_e |  .27304406
         rho |  .95775243   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. outreg2 using `file', `opt' append addnote(IN_HFraser_Inter_GDP) 
warning: addnote ignored in appended columns
MAR08-CondtionModel-UNODC.xml
dir : seeout

. 
. //      #13
. //      mediating models high fraser 
. preserve

. drop if Lfraser!=0 
(978 observations deleted)

. sem ( `iv'-> `iv2' , ) (`iv' `iv2' -> `dv', ) (`cont' -> `dv', ) (`icid' ->`dv
> ')  ,  vce(cluster CID) nocapslatent

Endogenous variables
  Observed: infantmort lrhom_un

Exogenous variables
  Observed: fraser edu unemp popdense perurban sexratio i1 i2 i3 i4 i5 i6 i7
            i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21 i22 i23 i24
            i25 i26 i27 i28 i29 i30 i31 i32 i33 i34 i35 i36 i37 i38 i39 i40
            i41 i42 i43 i44 i45 i46 i47 i48 i49 i50 i51 i52 i53 i54 i55 i56
            i57 i58 i59 i60 i61 i62 i63 i64 i65 i66 i67 i68 i69 i70 i71 i72
            i73 i74 i75 i76 i77 i78 i79 i80 i81 i82 i83 i84 i85 i87 i88

Fitting target model:
Iteration 0:  Log pseudolikelihood =   5057.724  (not concave)
Iteration 1:  Log pseudolikelihood =   5057.724  (not concave)
Iteration 2:  Log pseudolikelihood =   5057.724  (not concave)
Iteration 3:  Log pseudolikelihood =   5057.724  (backed up)

Structural equation model                                  Number of obs = 971
Estimation method: ml

Log pseudolikelihood = 5057.724

                                    (Std. err. adjusted for 79 clusters in CID)
-------------------------------------------------------------------------------
              |               Robust
              | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
--------------+----------------------------------------------------------------
Structural    |
  infantmort  |
       fraser |  -9.986105   1.960443    -5.09   0.000     -13.8285   -6.143707
        _cons |   85.83485   15.68059     5.47   0.000     55.10145    116.5682
  ------------+----------------------------------------------------------------
  lrhom_un    |
   infantmort |   .0534088   .0195412     2.73   0.006     .0151087    .0917089
       fraser |  -.4165182   .3209822    -1.30   0.194    -1.045632    .2125954
          edu |  -2.743998    1.10191    -2.49   0.013    -4.903702   -.5842946
        unemp |  -.0319559   .0114387    -2.79   0.005    -.0543754   -.0095364
     popdense |  -.0002606   .0000606    -4.30   0.000    -.0003793   -.0001418
     perurban |   .0248728   .0066748     3.73   0.000     .0117906    .0379551
     sexratio |  -.0110128   .0015722    -7.00   0.000    -.0140941   -.0079314
           i1 |   .5849183   .1487346     3.93   0.000     .2934037    .8764328
           i2 |          0  (constrained)
           i3 |          0  (constrained)
           i4 |          0  (constrained)
           i5 |  -.0999465   .3572414    -0.28   0.780    -.8001267    .6002337
           i6 |  -.5333375   .1911196    -2.79   0.005    -.9079251   -.1587499
           i7 |   1.737383    .238851     7.27   0.000     1.269244    2.205523
           i8 |  -1.375712   .2105884    -6.53   0.000    -1.788457   -.9629661
           i9 |          0  (constrained)
          i10 |  -.0923604   .1991121    -0.46   0.643     -.482613    .2978922
          i11 |          0  (constrained)
          i12 |          0  (constrained)
          i13 |          0  (constrained)
          i14 |          0  (constrained)
          i15 |   .1481561   .5119357     0.29   0.772    -.8552195    1.151532
          i16 |          0  (constrained)
          i17 |   2.224782   .2301853     9.67   0.000     1.773627    2.675937
          i18 |  -.3938249   .1687282    -2.33   0.020    -.7245261   -.0631237
          i19 |          0  (constrained)
          i20 |          0  (constrained)
          i21 |          0  (constrained)
          i22 |   .0258411   .2617105     0.10   0.921     -.487102    .5387843
          i23 |   .5368569   .1895755     2.83   0.005     .1652958     .908418
          i24 |          0  (constrained)
          i25 |    .089778   .2297017     0.39   0.696    -.3604291     .539985
          i26 |          0  (constrained)
          i27 |          0  (constrained)
          i28 |   1.049799   .1708047     6.15   0.000     .7150283     1.38457
          i29 |  -.2672659   .2013672    -1.33   0.184    -.6619383    .1274065
          i30 |  -.2477018   .1651316    -1.50   0.134    -.5713539    .0759502
          i31 |   -.505337   .1837389    -2.75   0.006    -.8654587   -.1452154
          i32 |  -.4989538    .294408    -1.69   0.090    -1.075983    .0780753
          i33 |   .2548018   .3840401     0.66   0.507    -.4979029    1.007507
          i34 |          0  (constrained)
          i35 |   2.088751   .2152192     9.71   0.000      1.66693    2.510573
          i36 |   1.231355   .1963142     6.27   0.000     .8465866    1.616124
          i37 |          0  (constrained)
          i38 |   .2857627   .2523776     1.13   0.258    -.2088883    .7804138
          i39 |  -.4191515   .1744679    -2.40   0.016    -.7611023   -.0772008
          i40 |   .9346077   .2084567     4.48   0.000       .52604    1.343175
          i41 |  -.2226279   .2247782    -0.99   0.322    -.6631851    .2179294
          i42 |          0  (constrained)
          i43 |  -.7866777   .1935022    -4.07   0.000    -1.165935   -.4074204
          i44 |   1.152418    .258422     4.46   0.000     .6459202    1.658916
          i45 |          0  (constrained)
          i46 |          0  (constrained)
          i47 |   1.961005   .2923741     6.71   0.000     1.387962    2.534047
          i48 |  -.2584606   .1933294    -1.34   0.181    -.6373793    .1204581
          i49 |  -1.273195   .2693434    -4.73   0.000    -1.801099    -.745292
          i50 |          0  (constrained)
          i51 |   .1286462   .2223956     0.58   0.563    -.3072411    .5645336
          i52 |  -.2681059   .2544089    -1.05   0.292    -.7667382    .2305264
          i53 |  -.6580621   .1698991    -3.87   0.000    -.9910583    -.325066
          i54 |   2.752434   .1678985    16.39   0.000     2.423359    3.081509
          i55 |  -1.796649   .2076315    -8.65   0.000    -2.203599   -1.389699
          i56 |    .821543   .2527041     3.25   0.001     .3262521    1.316834
          i57 |  -1.310687   .2760983    -4.75   0.000     -1.85183   -.7695442
          i58 |  -1.615586     .42641    -3.79   0.000    -2.451335   -.7798379
          i59 |  -.9121784   .2143946    -4.25   0.000    -1.332384   -.4919728
          i60 |  -1.428521   .2680553    -5.33   0.000      -1.9539   -.9031428
          i61 |  -.4546727   .2469879    -1.84   0.066      -.93876    .0294147
          i62 |   1.058415   .1845101     5.74   0.000     .6967817    1.420048
          i63 |   1.524328   .1862408     8.18   0.000     1.159303    1.889353
          i64 |  -1.162379   .2002235    -5.81   0.000    -1.554809   -.7699476
          i65 |          0  (constrained)
          i66 |  -.8951374   .2112787    -4.24   0.000    -1.309236   -.4810387
          i67 |  -.7204892   .1959344    -3.68   0.000    -1.104514   -.3364649
          i68 |   .4490051   .1929061     2.33   0.020     .0709162    .8270941
          i69 |          0  (constrained)
          i70 |   .4264732   .2535905     1.68   0.093    -.0705549    .9235014
          i71 |   .6031887   .2823541     2.14   0.033     .0497848    1.156593
          i72 |   .8148352   .1680904     4.85   0.000      .485384    1.144286
          i73 |          0  (constrained)
          i74 |          0  (constrained)
          i75 |  -1.285861   .2476963    -5.19   0.000    -1.771337   -.8003852
          i76 |          0  (constrained)
          i77 |          0  (constrained)
          i78 |  -.7495428   .2291148    -3.27   0.001      -1.1986   -.3004861
          i79 |  -.2861063   .3812543    -0.75   0.453    -1.033351    .4611384
          i80 |   .2781587   .2459959     1.13   0.258    -.2039844    .7603017
          i81 |  -.8460222   .2336427    -3.62   0.000    -1.303954   -.3880909
          i82 |          0  (constrained)
          i83 |   .9762967   .1814844     5.38   0.000     .6205937       1.332
          i84 |          0  (constrained)
          i85 |   .3776364   .2313987     1.63   0.103    -.0758967    .8311696
          i87 |   .4152237   .2829269     1.47   0.142    -.1393029    .9697503
          i88 |  -.6999711   .2609043    -2.68   0.007    -1.211334   -.1886081
        _cons |   5.308465   3.039404     1.75   0.081    -.6486569    11.26559
--------------+----------------------------------------------------------------
var(e.infan~t)|   54.64285   14.29817                      32.71922    91.25647
var(e.lrhom~n)|   .1739756   .0398043                      .1111066    .2724185
-------------------------------------------------------------------------------

. outreg2 using `file', append `opt'  addnote(LF_`iv'->`iv2')
warning: addnote ignored in appended columns
check eret list for the existence of e(r2)
MAR08-CondtionModel-UNODC.xml
dir : seeout

. restore 

. /* ML not possible to obtain 
> preserve 
> drop if Lfraser!=1
> sem ( `iv'-> `iv2' , ) (`iv' `iv2' -> `dv', ) (`cont' -> `dv', ) (`icid' ->`dv
> ')  ,  vce(cluster CID) nocapslatent
> outreg2 using `file', append `opt'  addnote(LF_`iv'->`iv2')
> restore 
> */
. 
. //      #14
. //      save and close 
. save `file'.dta, replace
(file MAR08-CondtionModel-UNODC.dta not found)
file MAR08-CondtionModel-UNODC.dta saved

. log close 
      name:  <unnamed>
       log:  /Volumes/rdss_meghrogers/Current Research/Markets-Pridemore/Work/MA
> R08-CondtionModel-UNODC.log
  log type:  text
 closed on:   5 May 2025, 15:05:27
--------------------------------------------------------------------------------
